package com.hacker.o2o.service.impl;

import com.hacker.o2o.dao.PersonInfoDao;
import com.hacker.o2o.entity.PersonInfo;
import com.hacker.o2o.service.PersonInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Author:AwakeningCode
 * @Date: Created in 18:00 2018\1\31 0031
 */
@Service
public class PersonInfoServiceImpl implements PersonInfoService{

    @Autowired
    private PersonInfoDao personInfoDao;

    public PersonInfo getPersonInfoById(Long userId) {
        return personInfoDao.queryPersonInfoById(userId);
    }

}
